English
Вход Регистрация

base class примеры

base class перевод  
ПримерыМобильная
  • This is the base class for all services.
    Это базовый класс для всех служб.
  • The final base class is new to the series.
    Колдун — новый для серии класс.
  • The Base Classes can often simplify development, allowing the programmer to bypass certain tasks.
    Эти классы обычно позволяют упростить разработку, позволяя программисту обойти некоторые задачи.
  • In contrast to Meyer's usage, this definition advocates inheritance from abstract base classes.
    В противоположность применения Мейером, это определение поддерживает идею наследования от абстрактных базовых классов.
  • To elaborate on the above example, consider a base class with no virtual functions.
    Развивая предыдущий пример, предположим, что есть базовый класс вообще без виртуальных методов.
  • Derived class constructors will execute after all delegation in their base classes is complete.
    Несмотря на это объекты производного класса начнут конструироваться только после выполнения всех конструкторов базовых классов.
  • You can then add or modify properties and relationships of the new class. Inheritance does not change the definition of the base class.
    После этого можно добавлять или изменять свойства нового класса. Наследование не изменяет определение базового класса.
  • When a mixin-class is included in the declaration of another class, all properties and methods from a mixin-class are automatically transferred to the base class.
    Когда mixin-класс включается в объявление другого класса, все свойства и методы из mixin-класса автоматически переносятся в основной класс.
  • This allows the features of the base class to be shared between its descendants or to give each of them a separate copy of the base class.
    Это позволяет совместно использовать методы родительского класса в потомках или предоставлять им отдельную копию родительского класса.
  • This allows the features of the base class to be shared between its descendants or to give each of them a separate copy of the base class.
    Это позволяет совместно использовать методы родительского класса в потомках или предоставлять им отдельную копию родительского класса.
  • The downside to this approach is that it is possible that new versions of this base class may no longer work even if the API remains the same.
    Обратная сторона этого подхода — вероятность отказа работать новых версий базового класса, несмотря на неизменный API.
  • Properties and methods that have already been declared in the base class will not be included again. Therefore, a mixin class may provide default implementation of methods that will be overridden in other classes that use the mixin-class.
    Свойства и методы, которые уже объявлены в основном классе не будут включены заново.
  • This is an example of the fragile base class problem, which can lead to DLL hell, as a new version of a shared library is installed and all programs based on the older version can stop functioning properly.
    Это пример проблемы хрупкого базового класса, которая может привести к DLL hell, когда после установки новой версии разделяемой библиотеки все программы, использующие старую версию, перестают работать корректно.